﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;
using System.Xml.Linq;

namespace FlowgraphViewer.Model
{
    public class FlowNodeInstance
    {
        public int Id { get; set; }

        public FlowNode FlowNode { get; set; }
        public Point Position { get; set; }
        public int Flags { get; set; }
        public Dictionary<FlowNodeItem, object> Inputs { get; set; }
        public Dictionary<FlowNodeItem, object> Outputs { get; set; }
        public XElement Raw { get; set; }


        public FlowNodeInstance()
        {
            Inputs = new Dictionary<FlowNodeItem, object>();
            Outputs = new Dictionary<FlowNodeItem, object>();
        }
    }
}
